package com.yc.fresh.bean;

import java.util.Objects;

/**
 * 收获地址信息
 * @Auther: HuYang
 * @Date: 2022/11/28 - 11 - 28 - 21:45
 * @Description: com.yc.fresh.bean
 * @version: 1.0
 */
public class AddrInfo {
    private String ano;
    private Long mno;
    private String name;
    private String tel;
    private String province;
    private String city;
    private String area;
    private String addr;
    private Integer flag;


    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof AddrInfo)) return false;
        AddrInfo addrInfo = (AddrInfo) o;
        return Objects.equals(ano, addrInfo.ano) && Objects.equals(mno, addrInfo.mno) && Objects.equals(name, addrInfo.name) && Objects.equals(tel, addrInfo.tel) && Objects.equals(province, addrInfo.province) && Objects.equals(city, addrInfo.city) && Objects.equals(area, addrInfo.area) && Objects.equals(addr, addrInfo.addr) && Objects.equals(flag, addrInfo.flag);
    }

    @Override
    public int hashCode() {
        return Objects.hash(ano, mno, name, tel, province, city, area, addr, flag);
    }

    @Override
    public String toString() {
        return "AddrInfo{" +
                "ano='" + ano + '\'' +
                ", mno=" + mno +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", addr='" + addr + '\'' +
                ", flag=" + flag +
                '}';
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public Long getMno() {
        return mno;
    }

    public void setMno(Long mno) {
        this.mno = mno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}
